package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalTime;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

 /**
 * 指标提取规则-实体
 * @author zfsn
 * @date 2023-8-4
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "指标提取规则", description = "")
@TableName("conf_index_extract_rule")
public class ConfIndexExtractRule extends Model<ConfIndexExtractRule> {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", notes = "主键id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 服务资源编码
     */
    @ApiModelProperty(value = "服务资源编码", notes = "服务资源编码")
    private String resourceCode;

	 /**
	  * 指标来源
	  */
	 @ApiModelProperty(value = "指标来源", notes = "指标来源")
	private String indexSource;

    /**
     * 指标类型 1：代表系统的专属指标提取规则 2：代表用户的专属指标提取规则 3：代表业务的专属指标提取规则 4：代表端到端学习的专属指标提取规则
     */
    @ApiModelProperty(value = "指标类型", notes = "指标类型 1：代表系统的专属指标提取规则 2：代表用户的专属指标提取规则 3：代表业务的专属指标提取规则 4：代表端到端学习的专属指标提取规则")
    private Integer indexType;

    /**
     * 提取规则
     */
    @ApiModelProperty(value = "提取规则", notes = "提取规则")
    private String extractRule;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", notes = "创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", notes = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人", notes = "更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", notes = "更新时间")
    private LocalDateTime updateTime;

    /**
     * 是否逻辑删除，0：否、1：是
     */
    @ApiModelProperty(value = "是否逻辑删除", notes = "是否逻辑删除，0：否、1：是")
    private Integer isDel;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", notes = "备注")
    private String remarks;

}